package cal.lib.tweet;


import android.app.Activity;
import android.os.Bundle;

import com.cilheo.R;

public class TwittItExample extends Activity {

	
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

       //On cree notre tweet
        TwittIt tw=new TwittIt(this, TwittIt.NO_TWITTER_APP_LIST_PROVIDED , "No twitter apps found :");
        
        //On ajoute du text
        tw.addMessageToTweet("Trying out a few stuffs");
        //On ajoute une image :)
        tw.addPictureToTweet(R.drawable.photo_android);
        
        tw.sendThisTweet();
        
    }
}